﻿namespace K9Nano.Domain.Caching;

public interface IUserCache
{
    UserCacheInfo? GetUser(long id);

    string? GetName(long id) => GetUser(id)?.Name;
    void Remove(long id);
}
